README
“Public Perceptions of Corporate Position-Taking on Abortion and Transgender Rights”
Wayde Z.C. Marsh and Jordan Carr Peterson
02/07/2024

Replication Instructions

1. Put all files in the replication archive into a single folder.
2. Run R script contained in code chunks in the RMarkdown file “Rep_Code.Rmd” to reproduce results for Tables and Figures reported in manuscript and supplementary information. 

Overview of Files 
	R Scripts
		1. Rep_Code.Rmd – This script estimates all the models summarized in all tables of the main text and produces all main text figures.
	
      Input Data Files
1. data.Rda---Data from original survey fielded on Lucid Theorem's (study I) and YouGov's (studies II and III) panels of respondents in May 10-16 and August 26-30 2022, respectively. The Lucid Theorem sample uses quotas for age, gender, ethnicity, and region to match census data on these characteristics. Sample size for study I was 1,512 respondents. YouGov uses probability sampling with post-stratification weighting to approximate a nationally-representative sample. Study II has 1,000 respondents and Study III has 1,000 respondents. This data file combines all three studies into one dataset, with indicators for study. The authors do this for ease of replication and to remove any identifiable information contained in additional variables irrelevant to the present study.
a. Used to estimate the results in tables C.2, C.3, C.4, C.5, C.6, and C.7.
b. Used to estimate the results in figures 1, 2, and B.5.


Base Software Dependencies
	Operating System: macOS Sonoma version 14.0
	R: All analyses were produced using R 4.3.1 (2023-06-16), “Beagle Scouts”
      	RStudio: 2023.09.1 Build 494

Additional Software Dependencies 
	R: The following R-packages were used in the analysis: descr, ggplot2, ggpubr, foreign, Rmisc, plyr, ggeffects, dplyr, margins, modelsummary.


